<div class="hangqing" ng-init="init()">
  <div class="hangqing_header">
    <div ng-bind="gp_name?gp_name:'股票名称'"></div>
    <div ng-click="sort_click($event, 'now')">现价</div>
    <div ng-click="sort_click($event, 'dev_h')" ng-if="sort_actived=='34'">涨幅</div>
    <div ng-click="sort_click($event, 'dev_h')" ng-if="sort_actived=='38'">跌幅</div>
    <div ng-click="sort_click($event, 'hsl')" ng-if="sort_actived=='37'">换手率</div>
    <div ng-click="sort_click($event, 'lbv')" ng-if="sort_actived=='33'">量比</div>
  </div>
  <div class="hangqing_content">
    <div class="item" ng-repeat="it in hangqing_list|orderBy:order_key" ng-click="go_detail(it)">
      <div>
        <span ng-bind="it.stkinfo.name"></span>
        <span ng-bind="it.stkinfo.code"></span>
      </div>
      <div ng-bind="it.now.toFixed(2)" ng-class="{'global_color_red':it.now-it.close>0,'global_color_green':it.now-it.close<0,'global_color_gray':it.now-it.close=='0'}"></div>
      <div ng-bind="(it.dev_h*100).toFixed(2)+'%'"  ng-if="sort_actived=='38'" ng-class="{'global_color_red':it.now-it.close>0,'global_color_green':it.now-it.close<0,'global_color_gray':it.now-it.close=='0'}"></div>
      <div ng-bind="(it.dev_h*100).toFixed(2)+'%'"  ng-if="sort_actived=='34'" ng-class="{'global_color_red':it.now-it.close>0,'global_color_green':it.now-it.close<0,'global_color_gray':it.now-it.close=='0'}"></div>
      <div ng-bind="(it.hsl*100).toFixed(2)+'%'" ng-if="sort_actived=='37'"></div>
      <div ng-bind="it.lbv.toFixed(2)" ng-if="sort_actived=='33'"></div>
    </div>
  </div>
</div>